package cn.mazexal.examapi.models.db;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 考试试卷
 *
 */
@Data
@TableName(value = "exam_page")
public class ExamPageDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.INPUT)
	private Long id;

	/**
	 *
	 */
	@TableField(value = "exam_bank_id")
	private Long examBankId;

	/**
	 *
	 */
	@TableField(value = "name")
	private String name;

	/**
	 *
	 */
	@TableField(value = "remark")
	private String remark;

	/**
	 * 试卷类型,1真实试卷，2模拟考，3智能组卷,4随机套题,5组织考试,6题库
	 */
	@TableField(value = "exam_type")
	private Integer examType;

	/**
	 * 考试时长时间戳
	 */
	@TableField(value = "exam_time")
	private Long examTime;

	/**
	 * 考试创建时间
	 */
	@TableField(value = "exam_create_time")
	private Long examCreateTime;

	/**
	 *
	 */
	@TableField(value = "create_time")
	private Long createTime;

	/**
	 *
	 */
	@TableField(value = "update_time")
	private Long updateTime;

	/**
	 * 更多信息, 存储了范围题号是什么题型
	 */
	@TableField(value = "extra_info")
	private String extraInfo;

	/**
	 *
	 */
	@TableField(value = "is_del")
	private Integer isDel;

	@TableField(value = "question_num")
	private Integer questionNum;

	@TableField(value = "hard_score")
	private BigDecimal hardScore;

}